
<!doctype html>
<html lang="zh-CN">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
    <meta name="description" content="">
    <meta name="author" content="">
    <title>Dashboard Template for Bootstrap</title>
    <!-- Bootstrap core CSS -->
    <link href="/node_modules/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet">
    <!-- Custom styles for this template -->
    <link href="/public/css/dashboard.css" rel="stylesheet">
  </head>
  <body>
    <div class="container-fluid">
      <div class="row">
        <div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main">
          <h2 class="sub-header">添加学生</h2>
		  <form action="/students/new" method="post">
		    <div class="form-group">
		      <label for="">姓名</label>
		      <input type="text" class="form-control" id="" name="name" value="{{ student.name }}" >
		    </div>
			<div class="form-group">
			  <label for="">字</label>
			  <input type="text" class="form-control" id="" name="zi" required >
			</div>
		    <div class="form-group">
		      <label for="">性别</label>
			  <div>
				  <label class="radio-inline">
					<input type="radio"  id="" name="gender" value="0" >女
				  </label>
				  <label class="radio-inline">
				  	<input type="radio"  id="" name="gender" value="1" checked>男
				  </label>
			  </div>
		    </div>
		    <div class="form-group">
		      <label for="">年龄</label>
		      <input type="number" class="form-control" id="" name="age" required >
		      <p class="help-block">Example block-level help text here.</p>
		    </div>
			<div class="form-group">
			  <label for="">爱好</label>
			  <input type="text" class="form-control" id="" name="like" required >
			</div>
		    <button type="submit" class="btn btn-default">Submit</button>
		  </form>
          
        </div>
      </div>
    </div>
  </body>
</html>

